<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>客户端1</title>
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
        crossorigin="anonymous">

    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp"
        crossorigin="anonymous">

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <link href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>


    <style>
        html,
        body {
            margin: 0 auto;
            padding: 0;
            list-style: none;
            list-style-type: none;
        }

        * {
            box-sizing: border-box;
        }

        .img {
            width: 400px;
            margin: 0 auto;
            height: 300px;
        }

        .mt_20 {
            margin-top: 20px;
        }

        .contanier {
            margin: 0px auto;
        }


        .panel-body {
            padding: 0;
        }

        .panel-body #canvas {
            width: 100%;
            height: 100%;
            background-color: lightseagreen;
        }
    </style>

</head>

<body>


    <div class="contanier">
        <div class="panel panel-default one">
            <div class="panel-body">
                <canvas id="canvas"></canvas>
            </div>
            <div class="panel-footer">
                <button class="btn btn-success" id="btn_send">切换资源</button>
                <button class="btn btn-success" id="btn_xy_test">我要按坐标点击的按纽</button>
            </div>
        </div>

        <div class="panel panel-default two">
            <div class="panel-heading">
                收到的socket
            </div>
            <div class="panel-body">

            </div>
            <div class="panel-footer">
                <button class="btn btn-success" id="btn_clear">清空</button>
            </div>
        </div>
    </div>

    <script src="https://cdn.bootcss.com/socket.io/2.1.0/socket.io.js"></script>
    <script type="text/javascript" src="static/draw_socket.js"></script>
    <script type="text/javascript" src="static/draw_client.js"></script>



</body>

</html>